//
//  NoteListTableViewCell.m
//  OrangeNote
//
//  Created by 刘崇龙 on 16/1/21.
//  Copyright © 2016年 崇龙. All rights reserved.
//

#import "NoteListTableViewCell.h"
#import "NoteModel.h"

@interface NoteListTableViewCell ()



@end

@implementation NoteListTableViewCell

- (void)setModel:(NoteModel *)model{
    self.nameLabel.text = model.name;
    self.contentLabel.text = model.content;
}

- (void)changeContentLabelHeight:(CGFloat)height{
    if (height > 15) {
        self.contentLabel.frame = CGRectMake(self.contentLabel.frame.origin.x, self.contentLabel.frame.origin.y, self.contentLabel.frame.size.width, 15);
    }
    
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
